﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="ThemTaiKhoan.aspx.cs" Inherits="Admin_ThemTaiKhoan" %>


<asp:Content ID="Content2" runat="server" contentplaceholderid="cphNoiDung">
    <table>
        <tr>
            <td>
            <asp:Label ID="Label1" runat="server" Text="Tên Tài Khoản" Font-Bold="True"></asp:Label>
                <asp:Label ID="Label7" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtUserName" runat="server" Width="292px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtUserName" ErrorMessage="Tên tài khoản không được rỗng!" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr>
            <td>
            <asp:Label ID="Label2" runat="server" Text="Mật Khẩu" Font-Bold="True"></asp:Label>
            <asp:Label ID="Label8" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPassword" runat="server" Width="292px" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtPassword" ErrorMessage="Mật khẩu không được rỗng!" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
                
           </td>
        </tr>
         <tr>
            <td>
            <asp:Label ID="Label3" runat="server" Text="Xác Nhận Mật Khẩu" Font-Bold="True"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtRePassword" runat="server" Width="292px" 
                    TextMode="Password"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToValidate="txtRePassword" 
                    ErrorMessage="Mật Khẩu và Xác Nhận Mật Khẩu Phải Giống Nhau?" 
                    ForeColor="Red" ControlToCompare="txtPassword"></asp:CompareValidator>
            </td>
        </tr>
         <tr>
            <td>
            <asp:Label ID="lbnEmail" runat="server" Text="Email" Font-Bold="True"></asp:Label>
            <asp:Label ID="Label9" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" Width="292px"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td>
            <asp:Label ID="Label4" runat="server" Text="Họ Tên" Font-Bold="True"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtHoTen" runat="server" Width="292px"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td>
            <asp:Label ID="Label5" runat="server" Text="Quyền Hạn" Font-Bold="True"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="drlQuyen" runat="server">
                    <asp:ListItem Value="1">Admin</asp:ListItem>
                    <asp:ListItem Value="2">Quản Lý</asp:ListItem>
                    <asp:ListItem Value="3">Thành Viên</asp:ListItem>
                </asp:DropDownList>
                
            </td>
        </tr>
        <tr>
            <td>
            <asp:Label ID="Label6" runat="server" Text="Kích Hoạt" Font-Bold="True"></asp:Label>
            </td>
            <td>
                <asp:CheckBox ID="cbKichHoat" runat="server" Checked="True" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
              <asp:Button ID="btnThem" runat="server" Text="Thêm Người Dùng" CssClass="button" 
                    onclick="btnThem_Click" />
              </td>
        </tr>
    </table>


</asp:Content>



